package org.example.modules.service;

import org.apache.dubbo.config.annotation.DubboService;
import org.example.modules.entity.User;

import javax.ws.rs.PathParam;

/**
 * @author shenguangyang
 */
@DubboService
public class UserServiceImpl implements UserService {

    @Override
    public User getUser(@PathParam("uid") String id) {
        User user = new User();
        user.setUsername("test");
        return user;
    }
}
